
#ifndef  BREAKPOINTDECORATOR_H
#define  BREAKPOINTDECORATOR_H

#include "IBreakPoint.h"

class BreakPointDecorator : public IBreakPoint{
public:
    BreakPointDecorator(IBreakPoint * persist);
    virtual ~BreakPointDecorator();

    const long long get() const override;
    void set(const long long seqNo) override;
    void add(const long long step) override;

private:
    IBreakPoint * persist;
    mutable bool loaded;
    IBreakPoint * mem;
};


#endif   /* BREAKPOINTDECORATOR_H */
